Part Number Hot Search : 
11400 S9683 SK313 HBO2510W 78S07 MS6502 KMOC30 2SC1061C
Product Description
Full Text Search
 

To Download CM109 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  best high integration/low cost usb audio controller for pc internet phone CM109 usb i/o controller datasheet version 1.3a c-media electronics inc. tel: 886-2-8773-1100 fax: 886-2-8773-2211 6f, 100, sec. 4, civil boulevar d, taipei, taiwan 106, r.o.c. for detailed product information, please contact sales@cmedia.com.tw
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 1 - notices this document is provided ?as is? with no warranties what so ever, including any warranty of merchant abi lity, noninfringement, fitness for any particular purpose, or any warranty otherwise arising out of any proposal, document or sample. all rights reserved. no part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, including information storage and retrieval systems, without permission in writing from c-media electronics, inc. copyright copyright (c) 2003-2006 c-media electronics inc. all rights reserved. all content included on this document, such as text, graphics, logos, button icons, images, audio clips, digital downloads, data compilations, and software, is either the exclusive property of c-media electronics inc., its affiliates (collectively, "c-media"), its content suppliers, or its licensors and prot ected by republic of china and international copyright laws. trademarks c-media, the c-media logo, xear 3d, xear 3d logo, speaker shifter, smart jack, and smart audio jack are trademarks of c -media electronics inc. in r epublic of china and/or other countries. all other brand and product names lis ted are trademarks or re gistered trademarks of their respective holders and are hereby recognized as such. *c-media reserves the right to modify the specifications without further notice*
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 2 - table of contents 1. descriptions and overview 4 2. features 4 3. pin descriptions 6 3.1 pin assignment by pin number 6 3.2 pin-out diagram 6 3.3 pin signal descriptions 7 4. mcu interface 9 5. block diagram 9 6. ordering information 10 7. function descriptions 11 7.1 usb interface 11 7.1.1 device descriptor 11 7.1.2 configuration descriptor 12 7.1.3 content format for 94c46 12 7.1.4 usb audio topology diagram 13 7.2 jumper pins and mode setting 13 7.3 hid feature 14 7.3.1 hid descriptor 15 7.3.2 windows software architecture for hid 16 7.4 internal registers 16 7.4.1 access via hid class command 16 7.4.2 access via enternal interf ace by mcu 19
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 3 - 7.4.3 indirect accessed registers 22 7.5 mcu interface 23 7.6 buzzer output 28 8. electrical characteristics 29 8.1 absolute maximum rating 29 8.2 operation conditions 29 8.3 electrical parameters 30 9. frequency response graphs 31 9.1 digital playback for line output frequency (10k ohm loading) 31 9.1.1 frequency response 48ks/sec 31 9.1.2 frequency response 44.1ks/sec 31 9.2 digital playback for line output frequency (32 ohm loading) 32 9.2.1 frequency response 48ks/sec 32 9.2.2 frequency response 44.1ks/sec 32 9.3 digital recording for line output frequency 33 9.3.1 frequency response 48ks/sec 33 9.3.2 frequency response 44.1ks/sec 33 10. application circuit reference 34
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 4 - 1.descriptions and overview CM109 is a highly integrated single chip usb audi o controller specifically for voip (voice over internet protocol) application. all ess ential analog modules ar e embedded in CM109, including dual dac and earpho ne driver, adc, microphone boos ter, pll, regulator, and usb transceiver. 8 gpio pins can constitute a 24 key matrix directly support keypad control function without mcu. it?s also support buzzer output pin for voip application. in addition, audio adjustment can be easily contro lled via specific hid compliant volume control pins. many features are programmable with jumper pins or external eeprom. vender can customized unique usb vid/pid to eeprom for voip software authentication. moreover, individual unique phone number for each device is possible via serial number stored in external eeprom. moreover , CM109 provided i2c interface with mcu application for lcm integrated and advanced functions. voip applications are becoming increasing popular as voip can provide free or low-cost calling worldwide. to provide a voip experienc e that is the same as using a regular phone and eliminate the poor call qualit y that results from using the pc audio, c-media has developed CM109 usb controller that enables a regular phone, handset, or headset which is interfaced to the u sb port on the pc. with the c -media oems can quickly bring to market a family of low cost high quality voip products. 2. features z compliant with usb 2. 0 full speed operation z compliant with usb audio device class specification v1.0 z supports usb suspend/resume mode and remote wakeup with volume control pins z single 12mhz crystal input with on-ch ip pll and embedded usb transceiver z jumper pin for speaker mode (playback only) or headset mode (playback + recording) z for headset mode, usb audio function topol ogy has 2 input terminals, 2 output terminals, 1 mixer unit, 1 sele ctor unit, and 3 feature units z jumper pin for operation system mixe r unit enable/disable under headset mode
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 5 - z for speaker mode, usb audio function t opology has 1 input terminal, 1 output terminal, and 1 feature unit z support one control endpoint, one isochroous out endpoint, one isochroous in endpoint, and one interrupt in endpoint z alternate zero bandwidth setting for releasing playback bandwidth on usb bus when this device is inactive z volume up, volume down, and playback mute support usb hid for host control synchronization z record mute pin with led indicator for record mute status z external eeprom interface for vendor specific usb vid, pid, and serial number z supports aes/ebu, iec 60958, s/pdif consumer formats for stereo pcm data at s/pdif output z 8 gpio pins with read/write via hid z embedded buzzer function c ontrolled by register z support i2c interface for external mcu integrated z jumper pin for output vo ltage swing (3.5v or 2.5v) z jumper pin for power mode setting z isochroous transfer uses adaptive mode with internal pll for synchronization z 48k/44.1khz sampling rate for both playback and recording z soft mute function z embedded high performance 16 bit audi o dac with earphone phone buffer z host side data loss noise reduction function z embedded 16 bit adc input with microphone boost z embedded power on reset block z embedded 5v to 3.3v regulator fo r single external 5v operation z compatible with win98 se / win me / win 2000 / win xp and mac os9 / os x without additional driver z 48 pin lqfp package z support hardware sdk tool for third-part y software or soft-phone development
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 6 - 3. pin descriptions 3.1 pin assignment by pin number pin # si g nal name pin # si g nal name pin # si g nal name pin # si g nal name 1 spdifo 13 gpio3 25 vbias 37 regv 2 dw 14 dvss1 26 vref 38 msel 3 dr 15 gpio4 27 micin 39 volup 4 sk 16 gpio5 28 vsel 40 pdsw 5 cs 17 gpio6 29 avdd1 41 usbdp 6 muter 18 mutep 30 lol 42 usbdm 7 pwrsel 19 buzz 31 lobs 43 gpio1 8 xi 20 gpio7 32 lor 44 sclk 9 xo 21 ledr 33 avss2 45 mint 10 mode 22 gpio8 34 avdd2 46 sdat 11 gpio2 23 test 35 dvdd 47 mclk 12 ledo 24 avss1 36 dvss2 48 voldn 3.2 pin-out diagram
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 7 - 3.3 pin signal descriptions pin # symbol type description 1 spdifo do, 8ma, sr spdif output 2 dw dio, 8ma, pd, 5vt usb controller data read from eeprom interface. eeprom data output. 3 dr do, 4ma, sr usb controller data writes to eeprom interface. eeprom data input. 4 sk do, 4ma, sr eeprom interface clock (100khz) 5 cs do, 4ma, sr eeprom interface chip select 6 muter di, st, pu mute recording (edge trigger with de-bouncing) 7 pwrsel di, st h: pull up to 3.3v; l: pull down to ground speaker mode h self power with 100ma l bus power with 500ma headset mode h bus power with 100ma l bus power with 500ma 8 xi di input pin for 12mhz oscillator 9 xo do output pin for 12mhz oscillator 10 mode di, st h: pull up to 3.3v; l: pull down to ground l headset mode: playback & recording h speaker mode: playback only 11 gpio2 dio, 8ma, pd, 5vt gpio pin 12 ledo do, sr, 8ma led for operation; output h for power on; toggling for data transmit 13 gpio3 dio, 8ma, pd, 5vt gpio pin 14 dvss1 p digital grounding 15 gpio4 dio, 8ma, pd, 5vt gpio pin 16 gpio5 dio, 8ma, pd, 5vt gpio pin 17 gpio6 dio, 8ma, pd, 5vt gpio pin 18 mutep di, st, pu mute playback (edge trigger with de-bouncing) 19 buzz do, 8ma, sr buzzer output pin 20 gpio7 dio, 8ma, pd, 5vt gpio pin 21 ledr do, sr, 8ma led for mute recording indicator; output h when recording is muted 22 gpio8 dio, 8ma, pd, 5vt gpio pin 23 test di, st, pd test mode select pin; pull low for normal operation 24 avss1 p analog ground
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 8 - 25 vbias ao microphone bias voltage supply (4.5v) 26 vref ao connecting to external decoupling capacitor for embedded bandgap circuit; 2.25v output 27 micin ai microphone input 28 vsel ai line out voltage swing select h: pull up to 5v, l: pull down to ground l: 2.5vpp output h: 3.5vpp output 29 avdd1 p 5v analog power for analog circuit 30 lol ao line out left channel 31 lobs ao dc 2.25v output for line out bias 32 lor ao line out right channel 33 avss2 p analog ground 34 avdd2 p 5v analog power for analog circuit 35 dvdd p 5v power supply to internal regulator 36 dvss2 p digital grounding 37 regv ao 3.3v reference output for internal 5v ? 3.3v regulator 38 msel di, st mixer enable select h: pull up to 3.3v, l: pull down to ground l: without mixer; h: with mixer (with default mute) usb descriptors are changed accordingly 39 volup di, st, pu volume up (edge trigger with de-bouncing) 40 pdsw do, 4ma , od power down switch control (for pmos polarity) 0: normal mode, 1: power down mode 41 usbdp aio usb data d+ 42 usbdm aio usb data d- 43 gpio1 dio, 8ma, pd, 5vt gpio pin 44 sclk dio, 8ma, pd, 5vt external mcu serial bus clock pin 45 mint do, 4ma, sr external mcu interrupt pin when register address 4 ~ 7 has new data, mint is set low; after mcu read mint is reset to h 46 sdat dio, 8ma, pd, 5vt external mcu serial bus data pin 47 mclk do, 4ma, sr external mcu clock pin, clock frequency is programmable default is 1.5 mhz (options include, 6mhz, 3mhz, 1.5mhz) 48 voldn di, st, pu volume down (edge trigger with de-bouncing)
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 9 - note : di ? digital input pad, do ? digital output pad, dio ? digital bi-directional pad, ai/ao/aio ? analog pad, sr slew rate control, st ? schmitt trigger, pd/pu ? pull down or pull up, 5vt ? 5 volt tolerant (3.3v pad), od ? open drain 4. mcu interface CM109 provides a serial mcu interface for exte rnal mcu to access internal registers with these registers access. mcu and host si de software can have bi-directional communication. this interface can keep flex ibility for external module control and integrate, such as lcd panel. 5. block diagram block diagram of CM109 usb trx usb interface usb control iso out processing pll1 48 mhz clock gen 12 mhz vref (2.25v) power on reset reset bandgap 3.3v 5 -> 3.3 regulator regv iso in processing sram 16 bit adc 16 bit dac +12 ~ -33 db 32 steps lol interface logics muter mcu i/f voldn volup vref mutep lor ledo ledr pdsw vbia s 4.5v eeprom interface cs sk dw dr usbdp usbdm mi ci n vref + - lobs gpio +20db boost enable pwrsel mode msel buzz spdifo 0 ~ -45db 38 steps 0 ~ -45db 38 steps 16 bit dac +22.5 ~ 0 db 16 steps
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 10 - 6. ordering information model number package operating ambient temperature supply range CM109 48-pin lqfp 7mm7mm1.4mm (plastic) 0 o c to +70 o c dvdd = 5v, avdd = 5v outline dimensions dimensions shown in inches and mm ? 48-lead thin plastic quad flatpack (lqfp) ordering information of CM109
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 11 - 7. function descriptions 7.1 usb interface CM109 integrates usb transceiver, pll, and regulator so only a few passive components are necessary for the usb interface connection. default usb descriptors are embedded in CM109; therefor e no additional design effort is needed for a generic usb operation. pid changes wit h the jumper pin setting so different setting have different pid. for customized product, cu stomer can attach a 93c46 eeprom to override the embedded vid, pid and provide addition serial number for each set. CM109 automatically detects 93c46 existenc e and performs the overwrite function during power up. 7.1.1 device descriptor offset field size value (hex) description 0 blength 1 12 total 18 bytes 1 bdescriptortype 1 01 device descriptor 2 bcdusb 2 0110 usb 1.1 compliant. 4 bdeviceclass 1 00 5 bdevicesubclass 1 00 6 bdeviceprotocol 1 00 7 bmaxpacketsize0 1 40 endpoint zero size = 64 bytes 8 idvendor 2 0d8c vendor id 10 idproduct 2 0008 ~ 000f product id programmable by msel and mode pin 12 bcddevice 2 0100 device compliant to the audio device class specification version 1.00 14 imanufacturer 1 01 index of string descriptor describing manufacturer 15 iproduct 1 02 index of string descriptor describing product 16 iserialnumber 1 03 index of string descriptor describing the device?s serial number 17 bnumconfigurations 1 01 configurations number = 1 note : vid, pid, and serial number can be overridden by external eeprom content
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 12 - 7.1.2 configuration descriptor offset field size value (hex) description 0 blength 1 09 total 9 bytes 1 bdescriptortype 1 02 configuration descriptor 2 wtotallength 2 total length of data returned for this configuration programmable by msel and mode pin 4 bnuminterfaces 1 04 or 03 number of interfaces supported by this configuration (decided by speaker mode and head set mode): 0: control interface 1: iso-out interface 2: iso-in interface (option) 3: int-in(hid) interface 5 bconfigurationvalue 1 01 6 iconfiguration 1 00 7 bmattributes 1 a0 or e0 programmable by pwrsel 8 bmaxpower 2 32 or fa maximum power consumption of the usb programmable by mode and pwrsel 7.1.3 content format for 93c46 id code 2 bytes pid 2 bytes serial number 6 bytes unused address = 0 1w = 2bytes vid 2 bytes 670x where x = bit 4, 3, 2, 1 bit 2 serial number enable control 1: enable 0: disable bit 1 product string enable control 1: enable 0: disable content format for 93c46
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 13 - 7.1.4 usb audio topology diagram usb audio topology diagram 7.2 jumper pins and mode setting: several jumper pins can set the configur ation of CM109. these jumper pin settings affect both usb descriptors and usb audio t opology. if mode pin is pulled up to 3.3v (speaker mode), a playback only function is acti vated and there is no recording function declared to the host. at this setting, msel pin is ignored and only one input terminal, one output terminal and one feature unit is declared in usb audio topology. if mode pin is pulled low ( headset mode), a full dup lex playback and recording function is reported to the host. msel pin setting activates one mixer unit and one feature unit. the following usb audio topology in chapter : 7.1.4 is an example of headset mode. pwrsel pin affects the power configuratio n of CM109; together with mode pin totally 4 combinations are programmable. it it ot ot usb out microphone in feature unit (volum e) (m ute) speaker out usb in feature unit (volum e) (m ute) id = 01 id =02 id = 0a id = 09 id = 06 id = 07 feature unit (volum e) (m ute) id = 0d mixer unit id = 0f selector u nit id = 08 enable or disable by msel pin
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 14 - mode combinations 3.3v gnd 3.3v speaker mode : playback only (self power with 100ma) headset mode : playback + recording (bus power with 100ma) pwrsel gnd speaker mode : playback only (bus power with 500ma) headset mode : playback + recording (bus power with 500ma) vsel jumper pin sets the output voltage swing. when vsel is connected to 5v, output voltage swing is 3.5vpp; when vsel is connected to ground, output voltage is 2.5vpp. 7.3 hid feature and descriptions hid feature is provided by CM109 so user setting to volume up, volume down, and playback mute button pin is re ported to the host to synchr onize host side setting. in addition, all CM109 internal registers can be accessed via hid function call. usb protocols can configure devic es at startup or when they are plugged in at run time. these devices are broken into various device classes. each device class defines the common behavior and protocols for devices that serve similar functions. the hid (human interface device) class is one of the device classes. the hid class consists primarily of devices that are used by hum ans to control the operation of computer systems. typical examples of hid class devices include: - keyboards and pointing devices, for exampl e: mouse, trackballs, and joysticks. - front-panel controls, for example: knobs, switches, buttons, and sliders. - controls that might be found on devices such as vcr remote controls, games or simulation devices, for example: data gloves, throttles, and steering wheels. - devices that may not require human interact ion but provide data in a similar format to hid class devices, for example: bar-c ode readers, thermometers, or voltmeters.
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 15 - 7.3.1 hid descriptor hid interface descriptor offset field size value (hex) description 0 blength 1 09 size of this descriptor: 9 byte 1 bdescriptortype 1 04 interface descriptor type 2 binterfacenumber 1 03 nu mber of interface: 3 3 balternatesetting 1 00 alternate 0 4 bnumendpoints 1 01 number of endpoints used by this interface: 1 5 binterfaceclass 1 03 hid interface class 6 binterfacesubclass 1 00 no subclass 7 binterfaceprotocol 1 00 must be set to 0 8 iinterface 1 00 index of a string descriptor that describes this interface. hid descriptor offset field size value (hex) description 0 blength 1 09 total 9 bytes 1 bdescriptortype 1 21 hid descriptor type 2 bcdhid 2 0100 hid class version 1.00 4 bcountrycode 1 00 5 bnumdescriptors 1 01 6 bdescriptortype 1 22 report descriptor 7 wdescriptorlength 2 0030 numeric expression that is the total size of the optional descriptor: 48 bytes interrupt in endpoint descriptor offset field size value (hex) description 0 blength 1 07 total 7 bytes 1 bdescriptortype 1 05 endpoint descriptor type 2 bendpointaddress 1 83 in endpoint endpoint number = 3 3 bmattributes 1 03 interrupt endpoint type 4 wmaxpacketsize 2 0004 maximum packet size: 4 bytes 6 binterval 1 20 32ms
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 16 - 7.3.2 windows software architecture for hid note : please contact with our sales for the c-media sdk example if needed. 7.4 internal registers all internal registers of CM109 can be access ed via generic hid func tional calls without the need to develop kernel mode driver. totally 4 bytes of data can be read or write from hid. input report is for read and output report is for write. in ternal registers of CM109 are used to control gpio, s/pdif output, eeprom and mcu data access. host side hid or external mcu can access CM109 internal registers. with both sides accessed to the same set of registers, two-wa y communication can be achieved. 7.4.1 access via hid class command: hid_ir0 to hid_ir3 are hid input report and is use by host side receiving data to CM109. hid_or0 to hid_or3 ar e hid output repor t and is used by host side sending adta to CM109 hid interrupt will occur when hid_ir0-3 are updated by button status mcu (and gpi in case hid_ir0[7:6] == 2?b00). pci enumerator usb class driver(usbd.sys) usb hub driver(usbhub.sys) usb hid class driver(hidclass.sys) gameport minidriver(hidgame.sys) gameport audio driver keyboard class driver mouse class driver joy stick class driver c-media sdk reports (device specification) winmm.dll direct input hid.dll applications user32.exe or user.exe
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 17 - hid_ir0 (hid input report byte 0) offset : 0x00 bits read/write description default 7-6 r when hid_or0[7] == 1?b0: hid_ir0-3 are programm ed by mcu (and gpi) 0: hid_ir1 is used as gpi 1: hid_ir0-3 are used as generic hid registers 2: values written to hid_ir0-3 are also mapped to mcu_ctrl, eeprom_data0-1, eeprom_ctrl 3: reserved 0x0 5-4 r when hid_or0[7] == 1?b0: generic registers programmed by mcu when hid_or0[7] == 1?b1: mapped from mcu_ctrl[5:4] 0x0 3 r 0: no activity on record-mute button 1: record-mute button pressed then released 0x0 2 r 0: no activity on playback-mute button 1: playback-mute button pressed then released 0x0 1 r 0: volume-down button released 1: volume-down button pressed 0x0 0 r 0: volume-up button released 1: volume-up button pressed 0x0 hid_ir1 (hid input report byte 1) offset : 0x01 bits read/write description default 7-0 r when hid_or0[7] == 1?b0: gpi (when hid_ir0[7:6] == 2?b00); or generic registers programmed by mcu (otherwise) when hid_or0[7] == 1?b1: mapped from eeprom_data0 0x00 hid_ir2 (hid input report byte 2) offset : 0x02 bits read/write description default 7-0 r when hid_or0[7] == 1?b0: generic registers programmed by mcu when hid_or0[7] == 1?b1: mapped from eeprom_data1 0x00
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 18 - hid_ir3 (hid input report byte 3) offset : 0x03 bits read/write description default 7-0 r when hid_or0[7] == 1?b0: generic registers programmed by mcu when hid_or0[7] == 1?b1: mapped from eeprom_ctrl 0x00 hid_or0 (hid output report byte 0) offset : 0x04 bits read/write description default 7-6 r/w 0: hid_or1-2 are used for gpo; hid_or0, 3 are used for buzzer and spdif 1: hid_or0-3 are used as generic hid registers 2: values written to hid_or0-3 are also mapped to mcu_ctrl, eeprom_data0-1, eeprom_ctrl (see note) 3: reserved 0x0 5 r/w when hid_or0[7] == 1?b0: 0: buzzer off 1: buzzer on when hid_or0[7] == 1?b1: mapped to mcu_ctrl[5] 0x0 4 r/w when hid_or0[7] == 1?b0: valid bit in spdif frame when hid_or0[7] == 1?b1: mapped to mcu_ctrl[4] 0x0 3-0 r/w when hid_or0[7] == 1?b0: first nibble of spdif status channel when hid_or0[7] == 1?b1: reserved 0x0 note : when eeprom access is done, hid interrupt will occur. usb host can get the result from inte rrupt pipe (endpoint 3).
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 19 - hid_or1 (hid output report byte 1) offset : 0x05 bits read/write description default 7-0 r/w when hid_or 0[7:6] == 2?b00: 0: gpo drives l 1: gpo drives h when hid_or0[7:6] == 2?b01: generic hid registers when hid_or0[7:6] == 2?b1x: mapped to eeprom__data0 0x00 hid_or2 (hid output report byte 2) offset : 0x06 bits read/write description default 7-0 r/w when hid_or 0[7:6] == 2?b00: 0: set gpio to input mode 1: set gpio to output mode when hid_or0[7:6] == 2?b01: generic hid registers when hid_or0[7:6] == 2?b1x: mapped to eeprom_data1 0x00 hid_or3 (hid output report byte 3) offset : 0x07 bits read/write description default 7-0 r/w when hid_or0[7] == 1?b0: category byte of spdif status channel when hid_or0[7] == 1?b1: mapped to eeprom_ctrl 0x00 note : hid_or3 is used for spdif when spdif_config[5] == 1?b0 7.4.2 access via external serial interface by mcu: external mcu can write data to hid_ir0 to hid_ir3 and read data from hid_or0 to hid_or3. mint will be active when hid_ or0-3 are updated by set_output_report hid class command, and will be cleared after hid_or0-3 are read by mcu.
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 20 - hid_ir0 (hid input report byte 0) offset : 0x00 bits read/write description default 7-6 r/w 0: hid_ir0-3 are not used by mcu 1: hid_ir0-3 are used as generic hid registers 2: values written to hid_ir0-3 are also mapped to mcu_ctrl, eeprom_data0-1, eeprom_ctrl (see note) 3: reserved 0x0 5 r/w when hid_ir0[7] == 1?b0: 0: buzzer off 1: buzzer on when hid_ir0[7] == 1?b1: mapped to mcu_ctrl[5] 0x0 4 r/w when hid_ir0[7] == 1?b0: generic hid register when hid_ir0[7] == 1?b1: mapped to mcu_ctrl[4] 0x0 3 r 0: no activity on record-mute button 1: record-mute button pressed then released 0x0 2 r 0: no activity on playback-mute button 1: playback-mute button pressed then released 0x0 1 r 0: volume-down button released 1: volume-down button pressed 0x0 0 r 0: volume-up button released 1: volume-up button pressed 0x0 note : when eeprom access is done, mint will be active. mcu should read hid_or0-3 to get the result, and then mint will be cleared. hid_ir1 (hid input report byte 1) offset : 0x01 bits read/write description default 7-0 r/w when hid_ir0[7] == 1?b0: generic hid registers when hid_ir0[7] == 1?b1: mapped to eeprom_data0 0x00
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 21 - hid_ir2 (hid input report byte 2) offset : 0x02 bits read/write description default 7-0 r/w when hid_ir0[7] == 1?b0: generic hid registers when hid_ir0[7] == 1?b1: mapped to eeprom_data1 0x00 hid_ir3 (hid input report byte 3) offset : 0x03 bits read/write description default 7-0 r/w when hid_ir0[7] == 1?b0: generic hid registers when hid_ir0[7] == 1?b1: mapped to eeprom_ctrl 0x00 hid_or0 (hid output report byte 0) offset : 0x04 bits read/write description default 7-6 r when hid_ir0[7] == 1?b0: hid_or0-3 are programmed by usb host 0: hid_or1-2 are used for gpo 1: hid_or0-3 are used as generic hid registers 2: values written to hid_or0-3 are also mapped to mcu_ctrl, eeprom_data0-1, eeprom_ctrl 3: reserved when hid_ir0[7] == 1?b1: always 2?b11 0x0 5-4 r when hid_ir0[7] == 1?b0: generic registers programmed by usb host when hid_ir0[7] == 1?b1: mapped from mcu_ctrl[5:4] 0x0 3-0 r when hid_ir0[7] == 1?b0: generic registers programmed by usb host when hid_ir0[7] == 1?b1: always 4?h0 0x0
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 22 - hid_or1 (hid output report byte 1) offset : 0x05 bits read/write description default 7-0 r when hid_ir0[7] == 1?b0: generic registers progr ammed by usb host when hid_ir0[7] == 1?b1: mapped from eeprom_data0 0x00 hid_or2 (hid output report byte 2) offset : 0x06 bits read/write description default 7-0 r when hid_ir0[7] == 1?b0: generic registers programmed by usb host when hid_ir0[7] == 1?b1: mapped from eeprom_data1 hid_or3 (hid output report byte 3) offset : 0x07 bits read/write description default 7-0 r when hid_ir0[7] == 1?b0: generic registers programmed by usb host when hid_ir0[7] == 1?b1: mapped from eeprom_ctrl 0x00 7.4.3 indirect accessed registers: mcu_ctrl (mcu control) offset : 0x08 bits read/write description default 7-6 -- reserved 0x0 5-4 r/w 0: mclk operating at 1.5mhz 1: mclk operating at 3mhz 2: mclk operating at 6mhz 3: reserved 0x0 3-0 -- reserved 0x0
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 23 - eeprom_data0 (low byte of eeprom data) offset : 0x09 bits read/write description default 7-0 r/w low byte of eeprom data to be accessed 0x00 eeprom_data1 (high byte of eeprom data) offset : 0x0a bits read/write description default 7-0 r/w high byte of eeprom data to be accessed 0x00 eeprom_ctrl (serial eeprom access control) offset : 0x0b bits read/write description default 7 r/w when register read: 0: no eeprom access pending 1: last eeprom access pending when register write: 0: no action 1: start eeprom access (will clear to 0 automatically) 0x0 6 r/w 0: read eeprom 1: write eeprom 0x0 5-0 r/w address of serial eeprom 0x00 7.5 mcu interface on mcu serial interface, CM109 serves as a slave device with bit rate up to 400kbps (fast mode). mcu can read/writ e 3 bytes to CM109 device with a 2-bit register address. since host side and mcu can both access to all t he internal registers, access contention when both host and mcu try to access the same register should be avoided on application. the 7-bit slave address of CM109 is assigned as 7?b0111000. when a one-byte data is written by mcu, cm 109 will transfer totally 4 bytes to the usb host via an additional interrupt pipe. the sequence of the upward hid report is the button status first (address 00), then register with address 01, then register with address 02, then register wit h address 03. the usb host wil l keep polling the upward hid
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 24 - report every 32ms. when t here is any button pressed or released, or mcu data coming, CM109 will transfer the 4 bytes of hid report to the usb host again. CM109 can also transfer one byte mcu data from the usb host to its register. this is accomplished by a ?set output report? hi d class request via default control pipe. mcu can get this downward byte by interrupt or polling. CM109 has one input pin ?sclk? where it gets serial clock from mcu, and one open-drain output pin ?sdat? where it sends or receives serial signal to/from mcu. as shown below, ?sdat? should be stable when ?s clk? is high, and can have transition only when ?sclk? is low. start and stop conditions shown below ar e the exception. every transaction begins from a start, and ends with a stop, or another start (repeated start).
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 25 - the figure below demonstrates a typical transac tion. after every 8 bits sent by the transmitter, the receiver should send one bit lo w for positive acknowledgement or one bit high for negative acknowledgement. after the negative acknowledgement, a stop or repeated start should follow. the nex t figure shows more detailed about acknowledgement bit. note that ?scl k? is always driven by the master. sdat sclk data transfer on the mcu interface start or repeated start condition stop or repeated start condition acknowledgement signal from receiver acknowledgment signal from receiver p sr sr or p s or sr msb 1 2 7 89 1 2 3 - 8 9 ack ack the figure below shows a complete data trans fer. after a start, mcu should send 7-bit slave address (7?b0111000) first, and th en the 8th bit denotes a read transfer when it?s high; or a write transfer when it?s low. the firs t acknowledgement is always from CM109.
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 26 - in the write transfer, mcu k eep acting as the master and the transfer direction is not changed. the following figure gives an ex ample of one byte write transfer. CM109 regards the first data byte as the regi ster address. the second data byte is the content that mcu wr ites at the register address. if there is the third data byte, CM109 will auto-increment this byte to the next register address. the figure below shows an example of two by tes read transfer. because CM109 has auto-increment function, the second data byte will be the register data on the next address. please note that the usb host tries to get new hid data every 32ms. it?s quite slow. if the continuous write transfers are too clos e in time, the former transfer may have no effect.
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 27 - the figure below shows typical transacti ons between mcu and CM109. after a start, mcu should send 7-bit slave addre ss (0111000) first, and then the 8th bit denotes a read transfer when it?s high; or a write transfer when it?s low. mcu write: s 0x70 0 0x00 0 byte 0 0 byte 1 0 byte 2 0 byte 3 0 p mcu read: s 0x70 0 0x04 0 s 0x71 0 byte 0 0 byte 1 0 byte 2 0 byte 3 1 p from CM109 to mcu from mcu to CM109 s start condition p stop condition 0 positive acknowledge 1 negative acknowledge byte n one byte data (address n) in a write transfer, mcu keeps acting as the transmitter. CM109 regards the first data byte as start register address (it?s better to be 0x00). the following four data bytes are the content that m cu writes to the r egister addresses. in a read transfer, two transactions are necessary. mcu resets start register ad dress by the first transaction. then mcu changes to be the re ceiver during the second transaction to get four bytes of data. note 1: bits 0~3 of the first hid byte always reflect button activity , so they can not be written by mcu.
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 28 - 7.6 buzzer output each time the software set "1" to the r egister hid-or0 bit 5, an embedded ringing sequence is played once. since the delay between one sequence and next sequence is long (around 1 second ~ 2 second), this del ay to be set by software, h/w only play one sequence and then stop fo r one register write. 0.025 sec 0.025 sec 5khz 300hz 0.025 sec 0.025 sec 5khz 300hz 0.025 sec 0.025 sec 5khz 300hz 0.025 sec 0.025 sec 5khz 300hz 0.2 sec ringing 0.1 sec silent 0.2 sec ringing 0.4 sec silent 0.2 sec ringing 0.1 sec silent 0.2 sec ringing ringing phase content silent & wait next trigger
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 29 - 8. electrical characteristics 8.1 absolute maximum rating symbol parameter value unit dvmin min digital supply voltage ? 0.3 v dvmax max digital supply voltage + 6 v avmin min analog supply voltage ? 0.3 v avmax max analog supply voltage + 6 v dvinout voltage on any digital input or output pin ?0.3 to +5.5 v avinout voltage on any analog input or output pin ?0.3 to +5.5 v t stg storage temperature range -40 to +125 0 c esd (hbm) esd human body mode 3500 v esd (mm) esd machine mode 200 v 8.2 operation conditions operation conditions min typ max unit analog supply voltage 4.5 5.0 5.5 v digital supply voltage 4.5 5.0 5.5 v total power consumption - - tbd suspend mode power consumption - 320 - ua operating ambient temperature 0 - 70 0 c
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 30 - 8.3 electrical parameters min typ max unit dac (10k ohm loading) resolution - 16 - bits thd + n (-3dbr) - -74.29 - db snr - 93.6 - db silent snr - 98.2 - db dynamic range - 93.8 - db frequency response 48khz 20 - 20k hz frequency response 44.1khz 20 - 20k hz output boltage (rms) - 1.25 - vrms output voltage swing 0.5 - 4.0 v dac (32 ohm loading) resolution - 16 - bits thd + n (-3dbr) - -71.1 - db snr - 93.7 - db silent snr - 98.2 - db dynamic range - 93.8 - db frequency response 48khz 20 - 20k hz frequency response 44.1khz 20 - 20k output voltage (rms) - 1.25 - vrms output voltage swing 0.5 - 4.0 v adc resolution - 16 - bit thd + n (-3dbr) - -76.1 - db snr - 83.1 - db dynamic range - 81.6 - db frequency response 48khz 20 - 19.2 hz frequency response 44.1khz 20 - 17.6 hz input range 0 - 2.88 vpp amplification volume control level -45 - 0 db volume control step - 38 - steps microphone input boost gain - +20 - db gain adjustment range 0 - 22.5 db gain adjustment steps - 16 - steps mixer gain adjustment -33.0 - 12.0 db mixer gain adjustment steps - 32 - steps
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 31 - 9. frequency response graphs 9.1 digital playback for line output frequency (10k ohm loading) 9.1.1 frequency response 48ks/sec (10k ohm loading) c-media 07/15/03 19:03:14 digital playback (pc-d-a) for line output frequency response wl-multitone-48k.at2 c olor line style thick d ata axis green solid 2 fasttest.ch.1 am pl!norm alize left yellow solid 2 fasttest.ch.2 am pl!norm alize left -6 +1 -5 -4 -3 -2 -1 +0 d b r a 30 10k 50 100 200 500 1k 2k 5k hz 9.1.2 frequency response 44. 1ks/sec (10k ohm loading) c-media 07/15/03 19:05:40 digital playback (pc-d-a) for line output frequency response wl-multitone-44k.at2 color line style thick data axis green solid 2 fasttest.ch.1 am pl!norm alize left ye llo w s o lid 2 fa s tte s t.c h .2 am p l!n o rm a lize l e ft -6 +1 -5 -4 -3 -2 -1 +0 d b r a 20 10k 50 100 200 500 1k 2k 5k hz
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 32 - 9.2 digital playback for line output frequenc y (32 ohm loading) 9.2.1 frequency response 48ks/sec (32 ohm loading) c-media digital recording (a-d-pc) for line input frequency response lw-mfreqresp-48k.at2 color line style thick data axis cyan solid 2 fasttest.ch.1 am pl!norm alize left yellow solid 2 fasttest.ch.2 am pl!norm alize left -6 +1 -5 -4 -3 -2 -1 +0 d b r 1 20 10k 50 100 200 500 1k 2k 5k hz 9.2.2 frequency response 44. 1ks/sec (32 ohm loading) c-media digital recording (a-d-pc) for line input frequency response lw-mfreqresp-44k.at2 color line style thick data axis green solid 2 fasttest.ch.1 am pl!norm alize left yellow solid 2 fasttest.ch.2 am pl!norm alize left -6 +1 -5 -4 -3 -2 -1 +0 d b 20 10k 50 100 200 500 1k 2k 5k hz
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 33 - 9.3 digital recording for line output frequency 9.3.1 frequency response 48ks/sec c-media 07/21/03 14:27:29 digital playback (pc-d-a) for line output frequency response wl -mu ltiton e-4 8k.a t2c color sweep trace line style thick data axis com m ent 1 1 cyan solid 2 fasttest.ch.1 am pl!normalize left 1 2 yellow solid 2 fasttest.ch.2 am pl!normalize left -6 +1 -5 -4 -3 -2 -1 +0 d b r a 30 10k 50 100 200 500 1k 2k 5k hz 9.3.2 frequency response 44.1ks/sec c-media 07/21/03 15:16:55 digital playback (pc-d-a) for line output frequency response wl-multitone-44k.at2c color sweep trace line style thick data axis com m ent 1 1 cyan solid 2 fasttest.ch.1 am pl!normalize left 1 2 yellow solid 2 fasttest.ch.2 am pl!normalize left -6 +1 -5 -4 -3 -2 -1 +0 d b r a 20 10k 50 100 200 500 1k 2k 5k hz
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 34 - 10. application circuit reference
CM109 high integration / low cost usb audio controller for pc internet phone date: 08/sep/2005 version: 1.3a - 35 - reference usb-if, usb specification, revision 1.1 and 2.0, and usb audio device class specification, revision 1.0,. end of specifications c-media electronics inc. 6f., 100, sec. 4, civil boulevard, taipei, taiwan 106 r.o.c. tel:886-2-8773-1100 fax:886-2-8773-2211 e-mail sales@cmedia.com.tw url http://www.cmedia.com.tw


▲Up To Search▲   

 
Price & Availability of CM109

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X